package com.atguigu.scala.chapter8

/**
 * @author lizikuan
 * @date 2021/5/25 18:42
 */
object $06_MatchParamDefined {
  def main(args: Array[String]): Unit = {
    val (a,b,c) = (10,20,30)
    println(s"a = ${a}")
    println(s"b = ${b}")
    println(s"c = ${c}")

    val Array(x,_,z) = Array(1,2,3)
    println(x)
    println(z)

    val map = Map("aa"->111,"bb"->222)
    for((key,value) <- map ) {
      println(key)
      println(value)
    }
  }
}
